/**
 * 
 */
package se.ricardo.gamesorgs.database.models;

/**
 * Class for temporary containing all information about
 * a game.
 * <br>
 * 
 * @author Ricardo Ocaña Leal
 *
 */
public class GameContainer {
	private int id;
	private String title;
	private String system;
	private String cartride;
	private String instructions;
	private String box;
	private String comment;
	
	/**
	 * Creates a game with default values.
	 * <br>
	 * 
	 * @param
	 * title A string with the title of the game.
	 * @param
	 * system A string with the system that the game is for.
	 * @param
	 * cartridge A string with the condition of the game cartridge/disc.
	 * @param
	 * instructions A string with the condition of the game instructions.
	 * @param
	 * box A string with the condition of the game box.
	 * @param
	 * comment A string with a user entered comment.
	 * */
	public GameContainer(int id, String title, String system, String cartridge,
			String instructions, String box, String comment) {
		this.id = id;
		this.title = title;
		this.system = system;
		this.cartride = cartridge;
		this.instructions = instructions;
		this.box = box;
		this.comment = comment;
	}
	
	/**
	 * Returns the database id of the game.
	 * <br>
	 * 
	 * @return
	 * int with the id.
	 * */
	public int getId() {
		return id;
	}
	
	/**
	 * Sets the database id of the game.
	 * <br>
	 * 
	 * @param
	 * id The database id.
	 * */
	public void setId(int id) {
		this.id = id;
	}
	
	/**
	 * Returns the title of the game.
	 * <br>
	 * 
	 * @return
	 * A string with the title.
	 * */
	public String getTitle() {
		return title;
	}
	
	/**
	 * Sets the title of the game.
	 * <br>
	 * 
	 * @param
	 * title A string with the title of the game.
	 * */
	public void setTitle(String title) {
		this.title = title;
	}
	
	/**
	 * Returns the system that the game is for.
	 * <br>
	 * 
	 * @return
	 * A string with the name of the system that the game is for.
	 * */
	public String getSystem() {
		return system;
	}
	
	/**
	 * Sets the system that the game is for.
	 * <br>
	 * 
	 * @param
	 * system A string with the name of the system.
	 * */
	public void setSystem(String system) {
		this.system = system;
	}
	
	/**
	 * Returns the condition of the cartridge/disc.
	 * <br>
	 * 
	 * @return
	 * A string with the condition.
	 * */
	public String getCartride() {
		return cartride;
	}
	
	/**
	 * Sets the condition of the cartridge/disc.
	 * <br>
	 * 
	 * @param
	 * cartridge A string with the condition.
	 * */
	public void setCartride(String cartride) {
		this.cartride = cartride;
	}
	
	/**
	 * Returns the condition of the instructions.
	 * <br>
	 * 
	 * @return
	 * A string with the condition.
	 * */
	public String getInstructions() {
		return instructions;
	}
	
	/**
	 * Sets the condition of the instructions.
	 * <br>
	 * 
	 * @param
	 * instructions A string with the condition.
	 * */
	public void setInstructions(String instructions) {
		this.instructions = instructions;
	}
	
	/**
	 * Returns the condition of the box.
	 * <br>
	 * 
	 * @return
	 * A string with the condition.
	 * */
	public String getBox() {
		return box;
	}
	
	/**
	 * Sets the condition of the box.
	 * <br>
	 * 
	 * @param
	 * box A string with the condition.
	 * */
	public void setBox(String box) {
		this.box = box;
	}
	
	/**
	 * Returns the comment for this specific game.
	 * <br>
	 * 
	 * @return
	 * A string with the comment.
	 * */
	public String getComment() {
		return comment;
	}
	
	/**
	 * Sets the comment for this specific game.
	 * <br>
	 * 
	 * @param
	 * comment A string with the comment.
	 * */
	public void setComment(String comment) {
		this.comment = comment;
	}
}
